"""
@author: j.l.liu
@create: 
@description: 
"""
from fastapi import FastAPI

app = FastAPI()

# 把路径参数传递给路径函数的参数item_id
@app.get("/items/{item_id}")
async def read_item(item_id):
    return {"item_id": item_id}
